<template>
  <div>
    <HeaderTop title="搜索"></HeaderTop>

    xxxx Search 组件
  </div>
</template>

<script>
import HeaderTop from "../../components/HeaderTop/HeaderTop";

//引入封装好的api请求
import { reqCategorys,reqShops } from "../../api/index";
export default {
  data() {
    return {};
  },
  created() {},
  mounted() {
    reqCategorys().then((res) => {
      console.log(res);
    });

    let params = { latitude: 40.10038, longitude: 116.36867 }
    reqShops(params).then(res=>{
        console.log(res.data)
    })

  },
  methods: {},
  components: {
    HeaderTop,
  },
};
</script>

<style scoped   lang='stylus'></style>
